@extends('admin.layouts.header')
@section('title',"后台管理系统")
@section('content')
    <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">{{trans('auth.desktop_name')}}</div>
        <ul class="layui-nav layui-layout-right" lay-filter="UserNav">
            <li class="layui-nav-item">
                <a href="javascript:;"><img src="{{asset('attach/js/images/face/avatar.png')}}" class="layui-nav-img">{{Auth::guard('admin')->user()->name}}</a>
                <dl class="layui-nav-child">
                    <dd><a href="project/base.html" class="ajax-open" wdphp-width="600" wdphp-height="400" wdphp-title="{{trans('auth.desktop_base_name')}}">{{trans('auth.desktop_base_name')}}</a></dd>
                    <dd><a href="project/safe.html" class="ajax-open" wdphp-width="600" wdphp-height="400" wdphp-title="{{trans('auth.desktop_base_safe')}}">{{trans('auth.desktop_base_safe')}}</a> </dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;"><i class="layui-icon">&#xe66a;</i>{{trans('auth.desktop_subject')}}</a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;" data-skin="0">{{trans('auth.desktop_subject_default')}}</a></dd>
                    <dd><a href="javascript:;" data-skin="1">{{trans('auth.desktop_subject_color')}}</a></dd>

                </dl>
            </li>
            <li class="layui-nav-item">
                <a href="{{ route('admin.logout') }}"   onclick="event.preventDefault();document.getElementById('logout-form').submit();">{{trans('auth.login_out')}}</a>
                <form id="logout-form" action="{{ route('admin.logout') }}" method="POST" style="display: none;">
                    @csrf
                </form>
            </li>
        </ul>
    </div>
    @include('admin.layouts.menu')
@endsection




@section('footer')
    @parent
    @include('admin.layouts.footer')
@endsection
    </div>